package com.nursinghome.common.service;

import com.nursinghome.bean.Order;
import com.nursinghome.bean.OrderVo;
import com.nursinghome.exception.NurisingHomeException;

import java.util.List;

/**
* @author 程硕
* @createDate 2025-04-07 01:10:33
*/
public interface OrderService {
    //新增
    Boolean insert(OrderVo orderVo) throws NurisingHomeException;
    //修改
    Boolean update(Order order) throws NurisingHomeException;
    // 删除
    Boolean delete(String id) throws NurisingHomeException;
    //根据id回显数据
    Order selectById(String id);
    //查询所有
    List<Order> selectAll();
    // 根据条件查询
    List<Order> selectByCondition(Order order);
}
